package com.itheima.health.dao;

import com.itheima.health.pojo.RolePermission;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RolePermissionDao extends Mapper<RolePermission> {
    List findByRolePermissionId(Integer id);

    List findByPermissionRoleId(Integer id);

    void deleteById(Integer id);

    void deleteByRoleId(Integer id);
}
